gdb-mingw-w64-target software package provides Cross-debugger server for Win32 and Win64 using MinGW-w64, you can install in your Ubuntu 12.04 LTS (Precise Pangolin) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install gdb-mingw-w64-target
gdb-mingw-w64-target is installed in your system.
Make ensure the gdb-mingw-w64-target package were installed using the commands given below,
$ sudo dpkg-query -l | grep gdb-mingw-w64-target *
You will get with gdb-mingw-w64-target package name, version, architecture and description in a table
| Distro | Ubuntu 12 04 lts precise pangolin |
| Section | Development |
| Package | gdb-mingw-w64-target |
| Version | 7.4-0ubuntu1+4 |
| Description | Cross-debugger server for Win32 and Win64 using MinGW-w64 |
| Sub Section | devel |